<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户注册</title>
    <style>
        .errors{
            color: red;
            font-weight: 700;
        }
    </style>
</head>
<body>
    <h2>用户注册</h2>
    <form action="<c:url value='/UserServlet'/>" method="post">
        用户名：<input type="text" name="username"><br>
        密  码：<input type="password" name="password"><br>
        邮 箱：<input type="test" name="email"><br>
        <span class="errors">${errors}</span>
        <input type="submit" value="提交">
    </form>

</body>
</html>